#!/usr/bin/env php
<?php
function main()
{
    try
    {
        $client=new SoapClient("http://localhost/sample/ws/soap.wsdl");
        $response=$client->HELLO();
        print "$response\n";
    }
    catch(SoapFault $e)
    {
        printf("Error: %s\n", $e->getMessage());
    }
}

$code=main();
exit($code);
?>
